//============================================================================
// Name        : VirtualFunc.cpp
// Author      : 
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C, Ansi-style
//============================================================================

#include <stdio.h>
#include <stdlib.h>

//#include "Students.h"
#include "Graduates.h"
#include "Freshmen.h"

int main(void)
{
//	Students stud1(1001, "Li", 87.0);
//	Graduates grad1(2001, "Wang", 98.5, 9000.00);
//	Students stud1;
	Graduates grad1;
	Freshmen fresssss;
//	Students* pt = &stud1;
//	pt->display();
//	pt = &grad1;
//	Students* pt = &grad1;
//	pt = & fresssss;
	Students* pt = &fresssss;
	pt->display();
	return 0;
}
